<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui"
	template="/template/template.xhtml">

	<ui:define name="titulo">Confirmar Os Dados do Cliente</ui:define>
	<ui:define name="conteudo">
		<h:form>
			<div align="center">
				<table style="width:30%;">
					<caption>Confirme seus Dados para Continuar a Compra</caption>
					<tr style="text-align: center;">
						<th style="text-align: right;"><h:outputLabel id="labelEmail" value="Email:" /></th>
						<td><h:inputText id="email" value="#{carrinhoMBean.cliente.email}" size="40" maxlength="255"/></td>
					</tr>
					<tr style="text-align: center;">
						<th style="text-align: right;"><h:outputLabel id="senhalabel" value="Senha:"/></th>
						<td><p:password id="senha" value="#{carrinhoMBean.cliente.senha}" size="40" maxlength="255"/></td>
					</tr>
					<tfoot>
						<tr>
							<td colspan="2" align="center">
								<p:commandButton value="Logar" action="#{carrinhoMBean.autenticarCliente}" ajax="false"/>
							</td>
						</tr>
					</tfoot>
				</table>
			</div>
		</h:form>
	</ui:define>

</ui:composition>